<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="__PUBLIC__/css/pintuer.css">
<link rel="stylesheet" href="__PUBLIC__/css/admin.css">
<script src="__PUBLIC__/js/jquery.js"></script>
<script src="__PUBLIC__/js/pintuer.js"></script>
<script type="text/javascript" src="__PUBLIC__/laydate/laydate.js"></script>
</head>
<body>
<form method="post" action="" id="listform">


<input name="dayin" type="hidden" value="__URL__/dayinWithDraw">

<div style="float:right;">
<div style="float:left;">开始日：<li class="laydate-icon" id="start" style="width:200px; margin-right:10px;"></li></div>
<div style="float:left;">结束日：<li class="laydate-icon" id="end" style="width:200px;"></li></div>
<a class="button bg-blue margin-left" target="right" id="dayin" style="float:right">批量打印</a>

</div>




<!-- <a href="__URL__/dayin" class="button bg-blue margin-left" target="right" style="float:right">打印</a> -->

<div class="panel admin-panel">
    <div class="panel-head">
    	<strong class="icon-reorder">提现记录</strong> 
    </div>
    
    <table class="table table-hover text-center">
      <tr>
        <th width="10%" style="text-align:left; padding-left:20px;">自增id</th>
       <th width="10%">申请人</th>
        <th width="10%">银行卡号</th>
        <th width="10%">银行类型</th>
        <th width="10%">姓名</th>
        <th width="10%">申请金额</th>
        <th width="10%">申请时间</th>
        <th width="15%">申请人类型</th>
<!--         <th width="8%">状态</th> -->
      </tr>
      <volist name="res" id="vo" key="k">
	     	<tr>
		        <td style="text-align:left; padding-left:20px;">
		          	{$k}
		        </td>
		        <td>
		        	{$vo.phone}
		        </td>
		         <td>{$vo.card}
		        </td>
		        <td>{$vo.banktype}
		        </td>
		        <td>{$vo.name}
		        </td>
		        <td>
		        	<font color="#00CC99">{$vo.money}</font>
		        </td>
		        <td>
		          	{$vo.shijian}
		        </td>
		        <td>
		          	<font>{$vo.type}</font>
		        </td>
<!-- 		        <td>
		          	<font>{$vo.statusname}</font>
		        </td> -->				
	        </tr>
	</volist>
	<tr>
		<td colspan="8"><div class="pagelist"> {$page} </div></td>
	</tr>
    </table>
  </div>

</form>


<script>
$(function(){
	$("#dayin").click(function(){
		var startTime = $("#start").html();
		var endTime = $("#end").html();
		if(startTime == "" || endTime == ""){
			alert('起止时间不能为空');
			return false;
		}
		var url = $("input[name='dayin']").val();
		window.location.href = url;
		return;
		
	})
	

})
</script>




<script>
var start = {
  elem: '#start',
  format: 'YYYY-MM-DD hh:mm:ss',
  min: '2016-06-16 23:59:59', //设定最小日期为当前日期
  max: '2099-06-16 23:59:59', //最大日期
  istime: true,
  istoday: false,
  choose: function(datas){
     end.min = datas; //开始日选好后，重置结束日的最小日期
     end.start = datas //将结束日的初始值设定为开始日
	 var newDayin = $("input[name='dayin']").val()+"/startTime/"+datas;
	 $("input[name='dayin']").val(newDayin);

  }
};
var end = {
  elem: '#end',
  format: 'YYYY-MM-DD hh:mm:ss',
  min: '2016-06-16 23:59:59',
  max: '2099-06-16 23:59:59',
  istime: true,
  istoday: false,
  choose: function(datas){
    start.max = datas; //结束日选好后，重置开始日的最大日期
	 var newDayin1 = $("input[name='dayin']").val()+"/endTime/"+datas;
	 $("input[name='dayin']").val(newDayin1);
 
  }
};
laydate(start);
laydate(end);
</script>


</body>
</html>